<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Dashboard Login</title>
    <meta name="description" content="dashboard_login">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/static/dash/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/static/dash/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="/static/dash/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="/static/dash/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="/static/dash/assets/css/app.css">
    <script src="/static/dash/assets/js/jquery.min.js"></script>

</head>

<body data-type="login">
    <script src="/static/dash/assets/js/theme.js"></script>
    <div class="am-g tpl-g">
        <!-- 风格切换 -->
        <div class="tpl-skiner">
            <div class="tpl-skiner-toggle am-icon-cog">
            </div>
            <div class="tpl-skiner-content">
                <div class="tpl-skiner-content-title">
                    选择主题
                </div>
                <div class="tpl-skiner-content-bar">
                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
                </div>
            </div>
        </div>
        <!-- END风格切换 -->

        <div class="tpl-login">
            <div class="tpl-login-content">
                <!-- login_page_logo -->
                <div class="tpl-login-logo"></div>
                <!-- END login_page_logo -->

                <!-- 登录提交表单 -->
                <form action="{% url 'dash_dologin' %}" method="POST" class="am-form tpl-form-line-form">
                    {% csrf_token %}
                    <!-- 用户名 -->
                    <div class="am-form-group">
                        <input name="username" type="text" class="tpl-form-input" placeholder="请输入账号">
                    </div>
                    <!-- END用户名 -->

                    <!-- 密码 -->
                    <div class="am-form-group">
                        <input name="password" type="password" class="tpl-form-input" placeholder="请输入密码">

                    </div>
                    <!-- END密码 -->

                    <!-- 验证码 -->
                    <div class="am-form-group" style="position: relative;">
                        <input type="text" name="verifycode" class="tpl-form-input"  placeholder="请输入验证码">
                        <div style="width: 100px;height:25px;position: absolute;right:0px;top:0px">
                            <img src="/dashboard/verifycode">
                        </div>
                    </div>
                    <!-- END验证码 -->

                    <!-- 提交表单button -->
                    <div class="am-form-group">
                        <button class="am-btn am-btn-primary  am-btn-block tpl-btn-bg-color-success  tpl-login-btn">
                            Login
                        </button>
                    </div>
                    <!-- END提交表单button -->

                </form>
                <!-- END登录提交表单 -->

            </div>
        </div>
    </div>
    <script src="/static/dash/assets/js/amazeui.min.js"></script>
    <script src="/static/dash/assets/js/app.js"></script>

</body>

</html>